package com.xmxsuperstar.app.client.twitter.model;

import java.util.Date;

import net.love5z.common.json.JSONObject;

public class TwitterStatus extends TwitterModel {

    private static final long serialVersionUID = 1L;

    private long              id;
    private Date              createdAt;
    private String            text;
    private TwitterUser       user;
    private String            inReplyToUserIdStr;
    private String            picUrl;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public TwitterUser getUser() {
        return user;
    }

    public void setUser(TwitterUser user) {
        this.user = user;
    }

    public final String getInReplyToUserIdStr() {
        return inReplyToUserIdStr;
    }

    public final void setInReplyToUserIdStr(String inReplyToUserIdStr) {
        this.inReplyToUserIdStr = inReplyToUserIdStr;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    @Override
    public String toString() {
        return new JSONObject(this).toString();
    }

}
